package org.jeecg.modules.demo.soQualityOrder.service.impl;

import org.jeecg.modules.demo.soQualityOrder.entity.SoQualityOrder;
import org.jeecg.modules.demo.soQualityOrder.mapper.SoQualityOrderMapper;
import org.jeecg.modules.demo.soQualityOrder.service.ISoQualityOrderService;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description: so_quality_order
 * @Author: jeecg-boot
 * @Date:   2021-12-10
 * @Version: V1.0
 */
@Service
public class SoQualityOrderServiceImpl extends ServiceImpl<SoQualityOrderMapper, SoQualityOrder> implements ISoQualityOrderService {
	
	@Autowired
	private SoQualityOrderMapper soQualityOrderMapper;
	
	@Override
	public List<SoQualityOrder> selectByMainId(String mainId) {
		return soQualityOrderMapper.selectByMainId(mainId);
	}

	@Override
	public Map<String, String> getMapByCon(String con) {
		return soQualityOrderMapper.getMapByCon(con);
	}

	@Override
	public SoQualityOrder editsqoStatus(String soqNo) {
		return soQualityOrderMapper.editsqoStatus(soqNo);
	}

	@Override
	public SoQualityOrder getQuantityById(String id) {
		return soQualityOrderMapper.getQuantityById(id);
	}

	@Override
	public List<SoQualityOrder> getBysoNo(String id) {
		return soQualityOrderMapper.getBysoNo(id);
	}
	
	
	@Override
	public Map<String,Double> getYkByOrder(String str){
		return soQualityOrderMapper.getYkByOrder(str);
	}
}
